<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wwwApp: Form Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">wwwApp
   </div>
   <div id="projectbrief">A web app for workshop organizing, recruitment and qualification</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Form Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="classForm-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a579aa5466971b4531857dae7d5ed260f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a579aa5466971b4531857dae7d5ed260f">__construct</a> ($rows=array(), $action='')</td></tr>
<tr class="memitem:a7eb9f8601d59b270c029aa947db1d638"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a7eb9f8601d59b270c029aa947db1d638">addRow</a> ($row)</td></tr>
<tr class="memitem:aefbd7dc0c2223c1af5637ef3c974b24b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#aefbd7dc0c2223c1af5637ef3c974b24b">offsetGet</a> ($offset)</td></tr>
<tr class="memitem:a21f629cbab598159a96646eab29fed4a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a21f629cbab598159a96646eab29fed4a">offsetSet</a> ($offset, $value)</td></tr>
<tr class="memitem:aa0f7ad4c038d94700713c7705292ea9b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#aa0f7ad4c038d94700713c7705292ea9b">offsetExists</a> ($offset)</td></tr>
<tr class="memitem:a6df97f533d353a1ca62cde164e03e858"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a6df97f533d353a1ca62cde164e03e858">offsetUnset</a> ($offset)</td></tr>
<tr class="memitem:ae1bfa3eb01dfd8c23988ec74ac97d3b0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#ae1bfa3eb01dfd8c23988ec74ac97d3b0">getHTML</a> ()</td></tr>
<tr class="memitem:a893a8e41c98ad360281401ede8c48242"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a893a8e41c98ad360281401ede8c48242">submitted</a> ()</td></tr>
<tr class="memitem:ac530ae1428933b4dca9af774505cb27f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#ac530ae1428933b4dca9af774505cb27f">getColumns</a> ()</td></tr>
<tr class="memitem:a558854c597d60900c6fbbed08e7ada50"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a558854c597d60900c6fbbed08e7ada50">fetchValues</a> ()</td></tr>
<tr class="memitem:a10e7052f8571da993bbfc5023277ccb6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a10e7052f8571da993bbfc5023277ccb6">getFormId</a> ()</td></tr>
<tr class="memitem:a795e27f62fd884a4019e94d0e7e1235e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a795e27f62fd884a4019e94d0e7e1235e">fetchAndValidateValues</a> ()</td></tr>
<tr class="memitem:a020aebaa477de8844672b153ac9032b2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a020aebaa477de8844672b153ac9032b2">assert</a> ($assertion, $errorDescription)</td></tr>
<tr class="memitem:a8cc847b2ed56ea33cf21edca54577b81"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a8cc847b2ed56ea33cf21edca54577b81">validate</a> (&amp;$value, $validator, $params, $values)</td></tr>
<tr class="memitem:a6af817575d8b517e39d75c95494a1b57"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a6af817575d8b517e39d75c95494a1b57">validateCharset</a> ($char, $charset)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a167575bc5a8f98bad7a0f7687acc5a07"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a167575bc5a8f98bad7a0f7687acc5a07">$action</a> = ''</td></tr>
<tr class="memitem:af14ac1bac85a65c0d0e118bdabeba31e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#af14ac1bac85a65c0d0e118bdabeba31e">$rows</a> = array()</td></tr>
<tr class="memitem:adc5c979307f61b507077b4ee784e22d1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a> = array()</td></tr>
<tr class="memitem:aa8c12f0fc6522e84262a680cee3bf0dc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#aa8c12f0fc6522e84262a680cee3bf0dc">$cssClass</a> = null</td></tr>
<tr class="memitem:a7eb2c4e4bb3636cfef28bb51e3516837"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a7eb2c4e4bb3636cfef28bb51e3516837">$columnWidth</a> = null</td></tr>
<tr class="memitem:a0d117daa81b08cd12c842faf5f781945"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a0d117daa81b08cd12c842faf5f781945">$custom</a> = ''</td></tr>
<tr class="memitem:abdb380523caa4eafa760d41f57b7d30e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#abdb380523caa4eafa760d41f57b7d30e">$submitValue</a> = 'Save'</td></tr>
<tr class="memitem:a85056df72f202cb8d48b1b462a4782e8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classForm.html#a85056df72f202cb8d48b1b462a4782e8">$valid</a> = false</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="form_8php_source.html#l00008">8</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a579aa5466971b4531857dae7d5ed260f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::__construct </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$rows</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$action</em> = <code>''</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00019">19</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                $this-&gt;submitValue = _(<span class="stringliteral">&#39;Save&#39;</span>);</div>
<div class="line">                $this-&gt;action = <a class="code" href="classForm.html#a167575bc5a8f98bad7a0f7687acc5a07">$action</a>;</div>
<div class="line">                <span class="keywordflow">foreach</span> (<a class="code" href="classForm.html#af14ac1bac85a65c0d0e118bdabeba31e">$rows</a> as $id =&gt; $row)</div>
<div class="line">                        <span class="keywordflow">if</span> (is_int($id))</div>
<div class="line">                                $this-&gt;<a class="code" href="classForm.html#a7eb9f8601d59b270c029aa947db1d638">addRow</a>($row); <span class="comment">// DEPRECATED, use parseTable to define rows.</span></div>
<div class="line">                        <span class="keywordflow">else</span></div>
<div class="line">                                $this-&gt;rows[$id]= <span class="keyword">new</span> ArrayObject($row);</div>
<div class="line"></div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7eb9f8601d59b270c029aa947db1d638"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::addRow </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$row</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00032">32</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

<p>Referenced by <a class="el" href="form_8php_source.html#l00019">__construct()</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="keywordflow">if</span> (!is_array($row))</div>
<div class="line">                        $row = func_get_args();</div>
<div class="line">                $row = <a class="code" href="utils_8php.html#a5d84b42e619618444a11590f91486f64">arrayToAssoc</a>($row, array(<span class="stringliteral">&#39;type&#39;</span>,<span class="stringliteral">&#39;name&#39;</span>,<span class="stringliteral">&#39;description&#39;</span>,<span class="stringliteral">&#39;readonly&#39;</span>));</div>
<div class="line">                $this-&gt;rows[$row[<span class="stringliteral">&#39;name&#39;</span>]]= <span class="keyword">new</span> ArrayObject($row);</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a020aebaa477de8844672b153ac9032b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::assert </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$assertion</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$errorDescription</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00158">158</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="keywordflow">if</span> (!$assertion)</div>
<div class="line">                {</div>
<div class="line">                        global <a class="code" href="index_8php.html#ae1848ae8dc4014bc7c680e5504a8eef0">$PAGE</a>;</div>
<div class="line">                        $PAGE-&gt;addMessage($errorDescription, <span class="stringliteral">&#39;userError&#39;</span>);</div>
<div class="line">                        $this-&gt;valid = <span class="keyword">false</span>;</div>
<div class="line">                }</div>
<div class="line">                <span class="keywordflow">return</span> $assertion;</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a795e27f62fd884a4019e94d0e7e1235e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::fetchAndValidateValues </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00132">132</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                global <a class="code" href="index_8php.html#ae1848ae8dc4014bc7c680e5504a8eef0">$PAGE</a>;</div>
<div class="line">                <a class="code" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a> = $this-&gt;<a class="code" href="classForm.html#a558854c597d60900c6fbbed08e7ada50">fetchValues</a>();</div>
<div class="line">                $this-&gt;valid = <span class="keyword">true</span>;</div>
<div class="line">                <span class="keywordflow">foreach</span> ($this-&gt;rows as &amp;$row)</div>
<div class="line">                        <span class="keywordflow">if</span> (!empty($row[<span class="stringliteral">&#39;validation&#39;</span>]) &amp;&amp; empty($row[<span class="stringliteral">&#39;readonly&#39;</span>]))</div>
<div class="line">                {</div>
<div class="line">                        $row[<span class="stringliteral">&#39;errors&#39;</span>] = array();</div>
<div class="line">                        $validators = explode(<span class="charliteral">&#39;,&#39;</span>, $row[<span class="stringliteral">&#39;validation&#39;</span>]);</div>
<div class="line">                        <span class="keywordflow">foreach</span> ($validators as $v)</div>
<div class="line">                        {</div>
<div class="line">                                $validator = substr($v, 0, strpos($v.<span class="charliteral">&#39;(&#39;</span>, <span class="charliteral">&#39;(&#39;</span>));</div>
<div class="line">                                $params = substr($v, strpos($v, <span class="charliteral">&#39;(&#39;</span>) + 1, -1);</div>
<div class="line">                                $params = explode(<span class="charliteral">&#39; &#39;</span>, $params);</div>
<div class="line">                                $r = $this-&gt;<a class="code" href="classForm.html#a8cc847b2ed56ea33cf21edca54577b81">validate</a>(<a class="code" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a>[$row[<span class="stringliteral">&#39;name&#39;</span>]], $validator, $params, <a class="code" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a>);</div>
<div class="line">                                <span class="keywordflow">if</span> ($r !== <span class="keyword">true</span>)</div>
<div class="line">                                {</div>
<div class="line">                                        $row[<span class="stringliteral">&#39;errors&#39;</span>][] = $r;</div>
<div class="line">                                        $this-&gt;valid = <span class="keyword">false</span>;</div>
<div class="line">                                }</div>
<div class="line">                        }</div>
<div class="line">                }</div>
<div class="line">                <span class="keywordflow">return</span> <a class="code" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a>;</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a558854c597d60900c6fbbed08e7ada50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::fetchValues </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00092">92</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

<p>Referenced by <a class="el" href="form_8php_source.html#l00132">fetchAndValidateValues()</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line"></div>
<div class="line">                <a class="code" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a> = array();</div>
<div class="line">                <span class="keywordflow">foreach</span> ($this-&gt;rows as $row)</div>
<div class="line">                {</div>
<div class="line">                        <span class="keywordflow">if</span> (!empty($row[<span class="stringliteral">&#39;readonly&#39;</span>])</div>
<div class="line">                                        || !empty($row[<span class="stringliteral">&#39;hidden&#39;</span>])</div>
<div class="line">                                        || ($row[<span class="stringliteral">&#39;type&#39;</span>] == <span class="stringliteral">&#39;checkboxgroup&#39;</span>)</div>
<div class="line">                                        || ($row[<span class="stringliteral">&#39;type&#39;</span>] == <span class="stringliteral">&#39;custom&#39;</span>))</div>
<div class="line">                                <span class="keywordflow">continue</span>;</div>
<div class="line"></div>
<div class="line">                        $value = isset($_POST[$row[<span class="stringliteral">&#39;name&#39;</span>]]) ? $_POST[$row[<span class="stringliteral">&#39;name&#39;</span>]] : null;</div>
<div class="line"></div>
<div class="line">                        <span class="keywordflow">if</span> (isset($row[<span class="stringliteral">&#39;other&#39;</span>]) &amp;&amp; ($value == <a class="code" href="form_8php.html#a788f80e2d8f0fe6e44078358775a74b0">VALUE_OTHER</a>))</div>
<div class="line">                                $value = isset($_POST[$row[<span class="stringliteral">&#39;name&#39;</span>] .<span class="stringliteral">&#39;_other&#39;</span>]) ? $_POST[$row[<span class="stringliteral">&#39;name&#39;</span>] .<span class="stringliteral">&#39;_other&#39;</span>] : null;</div>
<div class="line"></div>
<div class="line">                        <span class="keywordflow">switch</span>($row[<span class="stringliteral">&#39;type&#39;</span>])</div>
<div class="line">                        {</div>
<div class="line">                                <span class="keywordflow">case</span> <span class="stringliteral">&#39;int&#39;</span>:</div>
<div class="line">                                        $value = intval($value);</div>
<div class="line">                                        <span class="keywordflow">break</span>;</div>
<div class="line">                                <span class="keywordflow">case</span> <span class="stringliteral">&#39;timestamp&#39;</span>:</div>
<div class="line">                                        $value = strtotime($value);</div>
<div class="line">                                        <span class="keywordflow">break</span>;</div>
<div class="line">                                <span class="keywordflow">case</span> <span class="stringliteral">&#39;checkbox&#39;</span>:</div>
<div class="line">                                        $value = empty($value) ? 0 : 1; <span class="comment">// SQL would have problems with true/false.</span></div>
<div class="line">                                        <span class="keywordflow">break</span>;</div>
<div class="line">                        }</div>
<div class="line"></div>
<div class="line">                        <a class="code" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a>[$row[<span class="stringliteral">&#39;name&#39;</span>]] = $value;</div>
<div class="line">                }</div>
<div class="line">                <span class="keywordflow">return</span> <a class="code" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a>;</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ac530ae1428933b4dca9af774505cb27f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::getColumns </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00083">83</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

<p>Referenced by <a class="el" href="form_8php_source.html#l00127">getFormId()</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                $columns = array();</div>
<div class="line">                <span class="keywordflow">foreach</span> ($this-&gt;rows as $row)</div>
<div class="line">                        <span class="keywordflow">if</span> (!in_array($row[<span class="stringliteral">&#39;type&#39;</span>], array(<span class="stringliteral">&#39;checkboxgroup&#39;</span>, <span class="stringliteral">&#39;custom&#39;</span>)) &amp;&amp; empty($row[<span class="stringliteral">&#39;notdb&#39;</span>]))</div>
<div class="line">                                $columns[]= <span class="charliteral">&#39;&quot;&#39;</span>. $row[<span class="stringliteral">&#39;name&#39;</span>] .<span class="charliteral">&#39;&quot;&#39;</span>;</div>
<div class="line">                <span class="keywordflow">return</span> implode(<span class="charliteral">&#39;,&#39;</span>, $columns);</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a10e7052f8571da993bbfc5023277ccb6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::getFormId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00127">127</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

<p>Referenced by <a class="el" href="form_8php_source.html#l00045">getHTML()</a>, and <a class="el" href="form_8php_source.html#l00077">submitted()</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="keywordflow">return</span> sha1($this-&gt;action . $this-&gt;<a class="code" href="classForm.html#ac530ae1428933b4dca9af774505cb27f">getColumns</a>());</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ae1bfa3eb01dfd8c23988ec74ac97d3b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::getHTML </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00045">45</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                $params = array(</div>
<div class="line">                        <span class="stringliteral">&#39;action&#39;</span>      =&gt; $this-&gt;action,</div>
<div class="line">                        <span class="stringliteral">&#39;class&#39;</span>       =&gt; $this-&gt;cssClass ? <span class="stringliteral">&#39;class=&quot;&#39;</span>. $this-&gt;cssClass .<span class="charliteral">&#39;&quot;&#39;</span> : <span class="stringliteral">&#39;&#39;</span>,</div>
<div class="line">                        <span class="stringliteral">&#39;columnWidth&#39;</span> =&gt; $this-&gt;columnWidth,</div>
<div class="line">                        <span class="stringliteral">&#39;custom&#39;</span>      =&gt; $this-&gt;custom,</div>
<div class="line">                        <span class="stringliteral">&#39;submitValue&#39;</span> =&gt; $this-&gt;submitValue,</div>
<div class="line">                        <span class="stringliteral">&#39;formid&#39;</span>      =&gt; $this-&gt;<a class="code" href="classForm.html#a10e7052f8571da993bbfc5023277ccb6">getFormId</a>(),</div>
<div class="line">                        <span class="stringliteral">&#39;rows&#39;</span>        =&gt; <a class="code" href="form_8php.html#a38d3d05e993dce971ae9af083f4902a7">generateFormRows</a>($this-&gt;rows, $this-&gt;values),</div>
<div class="line">                );</div>
<div class="line">                $template = <span class="keyword">new</span> <a class="code" href="classSimpleTemplate.html">SimpleTemplate</a>($params);</div>
<div class="line">                ?&gt;</div>
<div class="line">                        &lt;form method=<span class="stringliteral">&quot;post&quot;</span> action=<span class="stringliteral">&quot;%action%&quot;</span> name=<span class="stringliteral">&quot;form&quot;</span> %<span class="keyword">class</span>%&gt;</div>
<div class="line">                                &lt;input type=<span class="stringliteral">&quot;hidden&quot;</span> name=<span class="stringliteral">&quot;formid&quot;</span> value=<span class="stringliteral">&quot;%formid%&quot;</span> /&gt;</div>
<div class="line">                                &lt;?php <span class="keywordflow">if</span> (is_null($this-&gt;columnWidth)) : ?&gt;</div>
<div class="line">                                        &lt;table&gt;</div>
<div class="line">                                &lt;?php <span class="keywordflow">else</span>: ?&gt;</div>
<div class="line">                                        &lt;table style=<span class="stringliteral">&quot;table-layout:fixed&quot;</span>&gt;</div>
<div class="line">                                                &lt;tr <span class="keyword">class</span>=<span class="stringliteral">&quot;columnWidth&quot;</span>&gt;&lt;td width=<span class="stringliteral">&quot;%columnWidth%&quot;</span>&gt;&lt;/td&gt;&lt;/tr&gt;</div>
<div class="line">                                &lt;?php <a class="code" href="html_8php.html#a82cd33ca97ff99f2fcc5e9c81d65251b">endif</a>; ?&gt;</div>
<div class="line">                                                %rows%</div>
<div class="line">                                        &lt;/table&gt;</div>
<div class="line">                                %custom%</div>
<div class="line">                                &lt;?php <span class="keywordflow">if</span> (!is_null($this-&gt;submitValue)) : ?&gt;</div>
<div class="line">                                        &lt;input type=<span class="stringliteral">&quot;submit&quot;</span> value=<span class="stringliteral">&quot;%submitValue%&quot;</span> /&gt;</div>
<div class="line">                                &lt;?php <a class="code" href="html_8php.html#a82cd33ca97ff99f2fcc5e9c81d65251b">endif</a>; ?&gt;</div>
<div class="line">                        &lt;/form&gt;</div>
<div class="line">                &lt;?php</div>
<div class="line">                <span class="keywordflow">return</span> $template-&gt;finish();</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa0f7ad4c038d94700713c7705292ea9b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::offsetExists </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$offset</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00042">42</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> isset($this-&gt;rows[$offset]); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aefbd7dc0c2223c1af5637ef3c974b24b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::offsetGet </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$offset</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00040">40</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> $this-&gt;rows[$offset]; }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a21f629cbab598159a96646eab29fed4a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::offsetSet </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00041">41</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
<div class="fragment"><div class="line">{ $this-&gt;rows[$offset] = $value; }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a6df97f533d353a1ca62cde164e03e858"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::offsetUnset </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$offset</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00043">43</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
<div class="fragment"><div class="line">{ unset($this-&gt;rows[$offset]); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a893a8e41c98ad360281401ede8c48242"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::submitted </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00077">77</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="comment">// TODO Could add CSRF protection: just set $_SESSION[&#39;requestId&#39;] and check it here.</span></div>
<div class="line">                <span class="keywordflow">return</span> isset($_POST[<span class="stringliteral">&#39;formid&#39;</span>]) &amp;&amp; ($_POST[<span class="stringliteral">&#39;formid&#39;</span>] == $this-&gt;<a class="code" href="classForm.html#a10e7052f8571da993bbfc5023277ccb6">getFormId</a>());</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a8cc847b2ed56ea33cf21edca54577b81"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::validate </td>
          <td>(</td>
          <td class="paramtype">&amp;&#160;</td>
          <td class="paramname"><em>$value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$validator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00169">169</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

<p>Referenced by <a class="el" href="form_8php_source.html#l00132">fetchAndValidateValues()</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                global <a class="code" href="index_8php.html#ae1848ae8dc4014bc7c680e5504a8eef0">$PAGE</a>;</div>
<div class="line">                <span class="keywordflow">switch</span> ($validator)</div>
<div class="line">                {</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;charset&#39;</span>:</div>
<div class="line">                                $value = (string) $value;</div>
<div class="line">                                <span class="keywordflow">for</span> ($i = 0; $i &lt; mb_strlen($value, <span class="stringliteral">&#39;UTF-8&#39;</span>); $i++)</div>
<div class="line">                                {</div>
<div class="line">                                        $char = mb_substr($value, $i, 1, <span class="stringliteral">&#39;UTF-8&#39;</span>);</div>
<div class="line">                                        $good = <span class="keyword">false</span>;</div>
<div class="line">                                        <span class="keywordflow">foreach</span> ($params as $p)</div>
<div class="line">                                                $good = $good || $this-&gt;<a class="code" href="classForm.html#a6af817575d8b517e39d75c95494a1b57">validateCharset</a>($char, $p);</div>
<div class="line">                                        <span class="keywordflow">if</span> (!$good)</div>
<div class="line">                                                <span class="keywordflow">return</span> sprintf(_(<span class="stringliteral">&#39;Invalid character: &quot;%s&quot;, position %d.&#39;</span>),</div>
<div class="line">                                                        htmlspecialchars($char),</div>
<div class="line">                                                        $i + 1</div>
<div class="line">                                                );</div>
<div class="line">                                }</div>
<div class="line">                                <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;length&#39;</span>:</div>
<div class="line">                                $value = trim($value);</div>
<div class="line">                                <span class="keywordflow">if</span> (count($params) == 1)</div>
<div class="line">                                {</div>
<div class="line">                                        <span class="keywordflow">if</span> (strlen($value) != $params[0])</div>
<div class="line">                                                <span class="keywordflow">return</span> sprintf(_(<span class="stringliteral">&#39;The value should have exactly %d characters.&#39;</span>), $params[0]);</div>
<div class="line">                                }</div>
<div class="line">                                <span class="keywordflow">else</span></div>
<div class="line">                                {</div>
<div class="line">                                        <span class="keywordflow">if</span> (strlen($value) &lt; $params[0])</div>
<div class="line">                                                <span class="keywordflow">return</span> _(<span class="stringliteral">&#39;The value is too short&#39;</span>). <span class="stringliteral">&#39;(&lt; &#39;</span>. $params[0] ._(<span class="stringliteral">&#39;characters&#39;</span>).<span class="stringliteral">&#39;).&#39;</span>;</div>
<div class="line">                                        <span class="keywordflow">if</span> (strlen($value) &gt; $params[1])</div>
<div class="line">                                                <span class="keywordflow">return</span> _(<span class="stringliteral">&#39;The value is too long&#39;</span>).  <span class="stringliteral">&#39;(&gt; &#39;</span>. $params[0] ._(<span class="stringliteral">&#39;characters&#39;</span>) .<span class="stringliteral">&#39;).&#39;</span>;</div>
<div class="line">                                }</div>
<div class="line">                                <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;email&#39;</span>:</div>
<div class="line">                                <span class="keywordflow">if</span> (!<a class="code" href="email_8php.html#a73637e760498c5cea55074896ec982ac">validEmail</a>($value))</div>
<div class="line">                                        <span class="keywordflow">return</span> _(<span class="stringliteral">&#39;Invalid e-mail address.&#39;</span>);</div>
<div class="line">                                <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;equal&#39;</span>:</div>
<div class="line">                                <span class="keywordflow">if</span> ($value != <a class="code" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a>[$params[0]])</div>
<div class="line">                                        <span class="keywordflow">return</span> _(<span class="stringliteral">&#39;The value doesn\&#39;t match it\&#39;s repetition.&#39;</span>);</div>
<div class="line">                                unset(<a class="code" href="classForm.html#adc5c979307f61b507077b4ee784e22d1">$values</a>[$params[0]]);</div>
<div class="line">                                <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;int&#39;</span>:</div>
<div class="line">                                <span class="keywordflow">if</span> (intval($value) != $value)</div>
<div class="line">                                        <span class="keywordflow">return</span> _(<span class="stringliteral">&#39;The value is not an integer.&#39;</span>);</div>
<div class="line">                                $value = intval($value);</div>
<div class="line">                                <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line">                        <span class="keywordflow">default</span>:</div>
<div class="line">                                <span class="keywordflow">return</span> <span class="stringliteral">&#39;Unknown validator: &#39;</span>. $validator .<span class="charliteral">&#39;.&#39;</span>;</div>
<div class="line">                }</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a6af817575d8b517e39d75c95494a1b57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::validateCharset </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$char</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$charset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00223">223</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

<p>Referenced by <a class="el" href="form_8php_source.html#l00169">validate()</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="keywordflow">switch</span> ($charset)</div>
<div class="line">                {</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;alpha&#39;</span>:</div>
<div class="line">                                <span class="keywordflow">return</span> (<span class="keywordtype">bool</span>) preg_match(<span class="stringliteral">&#39;/(*UTF8)\pL/u&#39;</span>, $char);</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;alnum&#39;</span>:</div>
<div class="line">                                <span class="keywordflow">return</span> $this-&gt;<a class="code" href="classForm.html#a6af817575d8b517e39d75c95494a1b57">validateCharset</a>($char, <span class="stringliteral">&#39;alpha&#39;</span>) || $this-&gt;<a class="code" href="classForm.html#a6af817575d8b517e39d75c95494a1b57">validateCharset</a>($char, <span class="stringliteral">&#39;digit&#39;</span>);</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;name&#39;</span>:</div>
<div class="line">                                <span class="keywordflow">return</span> $this-&gt;<a class="code" href="classForm.html#a6af817575d8b517e39d75c95494a1b57">validateCharset</a>($char, <span class="stringliteral">&#39;alpha&#39;</span>) || $this-&gt;<a class="code" href="classForm.html#a6af817575d8b517e39d75c95494a1b57">validateCharset</a>($char, <span class="stringliteral">&#39; \&#39;-.’&#39;</span>);</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;white&#39;</span>:</div>
<div class="line">                                <span class="keywordflow">return</span> ctype_space($char);</div>
<div class="line">                        <span class="keywordflow">case</span> <span class="stringliteral">&#39;&#39;</span>:</div>
<div class="line">                                <span class="keywordflow">return</span> $char === <span class="charliteral">&#39; &#39;</span>;</div>
<div class="line">                        <span class="keywordflow">default</span>:</div>
<div class="line">                                <span class="keywordflow">if</span> (is_callable(<span class="stringliteral">&quot;ctype_$charset&quot;</span>))</div>
<div class="line">                                <span class="keywordflow">return</span> call_user_func_array(<span class="stringliteral">&quot;ctype_$charset&quot;</span>, array($char));</div>
<div class="line">                                <span class="keywordflow">return</span> strpos($charset, $char) !== <span class="keyword">false</span>;</div>
<div class="line">                }</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a167575bc5a8f98bad7a0f7687acc5a07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::$action = ''</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00010">10</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

<p>Referenced by <a class="el" href="form_8php_source.html#l00019">__construct()</a>.</p>

</div>
</div>
<a class="anchor" id="a7eb2c4e4bb3636cfef28bb51e3516837"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::$columnWidth = null</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00014">14</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

</div>
</div>
<a class="anchor" id="aa8c12f0fc6522e84262a680cee3bf0dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::$cssClass = null</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00013">13</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

</div>
</div>
<a class="anchor" id="a0d117daa81b08cd12c842faf5f781945"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::$custom = ''</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00015">15</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

</div>
</div>
<a class="anchor" id="af14ac1bac85a65c0d0e118bdabeba31e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::$rows = array()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00011">11</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

<p>Referenced by <a class="el" href="form_8php_source.html#l00019">__construct()</a>.</p>

</div>
</div>
<a class="anchor" id="abdb380523caa4eafa760d41f57b7d30e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::$submitValue = 'Save'</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00016">16</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

</div>
</div>
<a class="anchor" id="a85056df72f202cb8d48b1b462a4782e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::$valid = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00017">17</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

</div>
</div>
<a class="anchor" id="adc5c979307f61b507077b4ee784e22d1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Form::$values = array()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="form_8php_source.html#l00012">12</a> of file <a class="el" href="form_8php_source.html">form.php</a>.</p>

<p>Referenced by <a class="el" href="form_8php_source.html#l00132">fetchAndValidateValues()</a>, <a class="el" href="form_8php_source.html#l00092">fetchValues()</a>, and <a class="el" href="form_8php_source.html#l00169">validate()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="form_8php_source.html">form.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Sep 8 2013 17:44:57 for wwwApp by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
